
// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the BTLMP3DEC_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// BTLMP3DEC_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef BTLMP3DEC_EXPORTS
#define BTLMP3DEC_API __declspec(dllexport)
#else
#define BTLMP3DEC_API __declspec(dllimport)
#endif

#ifdef __cplusplus
extern "C" {
#endif 

#ifndef _BTLMP3DEC_H
#define _BTLMP3DEC_H


BTLMP3DEC_API HANDLE	WINAPI BtlMp3Dec_createInstance(void);
BTLMP3DEC_API void	WINAPI BtlMp3Dec_releaseInstance(HANDLE handle);

BTLMP3DEC_API void	WINAPI BtlMp3Dec_initDecode(HANDLE handle, DWORD sampleRate);
BTLMP3DEC_API void	WINAPI BtlMp3Dec_releaseDecode(HANDLE handle);

BTLMP3DEC_API BOOL	WINAPI BtlMp3Dec_decode(HANDLE handle, 
						void *input, int inlen, void **output, int &outlen);


#endif	// _BTLMP3DEC_H_
#ifdef __cplusplus
}
#endif 

